package dao.impl;

import dao.BaseDao02;
import dao.Order_OrderItem_Dao;

public class Order_OrderItem_DaoImpl extends BaseDao02 implements Order_OrderItem_Dao {
    @Override
    public Object queryUsernameByOrderId(String orderId) {
        String sql = "SELECT username FROM t_user INNER JOIN t_order ON t_user.id = t_order.user_id WHERE t_order.order_id = ?;";
        return  queryForSpecial(sql,orderId);
    }
}
